Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.DPISupporting Namespace / MultiScalingBitmapManager Class / MultiScalingBitmapManager Constructor / MultiScalingBitmapManager Constructor(String,Single[],Boolean)
The original path (1x version) of specifed Image resource in the filesystem.
The scale factors of the specified scale versions of the Bitmap resource that would be used to create the result Bitmap.
Indicates if we should preload the existing supporting DPI scaling versions of the Bitmap into the manager.


In This Topic
    MultiScalingBitmapManager Constructor(String,Single[],Boolean)
    In This Topic
    Initializes the MultiScalingBitmapManager object. The manager would create the getting request Bitmap by scaling from the existing specified scaling versions of the Bitmap.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal resourcePath As String, _
       ByVal scaleFactors() As Single, _
       ByVal preloadExistingBitmap As Boolean _
    )
    'Usage
     
    
    Dim resourcePath As String
    Dim scaleFactors() As Single
    Dim preloadExistingBitmap As Boolean
     
    Dim instance As New MultiScalingBitmapManager(resourcePath, scaleFactors, preloadExistingBitmap)
    public MultiScalingBitmapManager( 
       string resourcePath,
       float[] scaleFactors,
       bool preloadExistingBitmap
    )

    Parameters

    resourcePath
    The original path (1x version) of specifed Image resource in the filesystem.
    scaleFactors
    The scale factors of the specified scale versions of the Bitmap resource that would be used to create the result Bitmap.
    preloadExistingBitmap
    Indicates if we should preload the existing supporting DPI scaling versions of the Bitmap into the manager.
    See Also